package com.kunlun.basedata.limit.model;

import com.kunlun.common.model.BaseModel;

/**
 * 权限管理表模型
 */
public class AuthorizeModel extends BaseModel {

    /**
     * 关联类型（0-角色；1-岗位）
     */
    private Integer type;

    /**
     * 目标ID（角色与岗位ID）
     */
    private String targetId;

    /**
     * 主体ID（菜单与部门节点ID）
     */
    private String subjectId;

    private String virtualId;

    private String virtualParent;

    private String virtualCode;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    public String getVirtualId() {
        return virtualId;
    }

    public void setVirtualId(String virtualId) {
        this.virtualId = virtualId;
    }

    public String getVirtualParent() {
        return virtualParent;
    }

    public void setVirtualParent(String virtualParent) {
        this.virtualParent = virtualParent;
    }

    public String getVirtualCode() {
        return virtualCode;
    }

    public void setVirtualCode(String virtualCode) {
        this.virtualCode = virtualCode;
    }
}
